home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 October / CD CHIP.ISO / WebServ / folkweb / MAINFRM.CP_ < prev    next >
Encoding:
Text File  |  1995-08-25  |  1.4 KB  |  65 lines

  1. // mainfrm.cpp : implementation of the CMainFrame class
  2. //
  3.  
  4. #include "stdafx.h"
  5. #include "reg.h"
  6.  
  7. #include "mainfrm.h"
  8.  
  9. #ifdef _DEBUG
  10. #undef THIS_FILE
  11. static char BASED_CODE THIS_FILE[] = __FILE__;
  12. #endif
  13.  
  14. /////////////////////////////////////////////////////////////////////////////
  15. // CMainFrame
  16.  
  17. IMPLEMENT_DYNCREATE(CMainFrame, CFrameWnd)
  18.  
  19. BEGIN_MESSAGE_MAP(CMainFrame, CFrameWnd)
  20.     //{{AFX_MSG_MAP(CMainFrame)
  21.         // NOTE - the ClassWizard will add and remove mapping macros here.
  22.         //    DO NOT EDIT what you see in these blocks of generated code !
  23.     //}}AFX_MSG_MAP
  24. END_MESSAGE_MAP()
  25.  
  26. /////////////////////////////////////////////////////////////////////////////
  27. // CMainFrame construction/destruction
  28.  
  29. CMainFrame::CMainFrame()
  30. {
  31.     // TODO: add member initialization code here
  32.     
  33. }
  34.  
  35. CMainFrame::~CMainFrame()
  36. {
  37. }
  38.  
  39. BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs)
  40. {
  41.     cs.style = WS_OVERLAPPED | WS_CAPTION | FWS_ADDTOTITLE
  42.         ;
  43.  
  44.     return CFrameWnd::PreCreateWindow(cs);
  45. }
  46.  
  47. /////////////////////////////////////////////////////////////////////////////
  48. // CMainFrame diagnostics
  49.  
  50. #ifdef _DEBUG
  51. void CMainFrame::AssertValid() const
  52. {
  53.     CFrameWnd::AssertValid();
  54. }
  55.  
  56. void CMainFrame::Dump(CDumpContext& dc) const
  57. {
  58.     CFrameWnd::Dump(dc);
  59. }
  60.  
  61. #endif //_DEBUG
  62.  
  63. /////////////////////////////////////////////////////////////////////////////
  64. // CMainFrame message handlers
  65.